/* pages/DeliveryAddress/DeliveryAddress.wxss */
.delivery-address {
  height: calc(100vh - env(safe-area-inset-bottom));
  position: relative;

  .delivery-address-list {
    height: calc(100vh - env(safe-area-inset-bottom) - 100rpx);

    .delivery-address-list-empty {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 30%;

      .delivery-address-list-empty-image {
        width: 300rpx;
        height: 300rpx;
      }

      .delivery-address-list-empty-text {
        margin-top: 80rpx;
        color: #9a9a9a;
      }

    }

    .delivery-address-list-bottom {
      height: 1rpx;
      background-color: #f5f5f5;
    }

    .delivery-address-list-top {
      height: 20rpx;
      background-color: #f5f5f5;
    }
  }

  .delivery-address-add-region {
    position: absolute;
    bottom: 0;
    height: 100rpx;
    width: 100vw;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;

    .delivery-address-add-region-button {
      border-radius: 30rpx;
      font-size: 30rpx;
      text-align: center;
      line-height: 75rpx;
      color: white;
      height: 75rpx;
      background-color: #1989fa;
      width: 700rpx;
      /* 添加过渡效果使状态变化更平滑 */
      transition: all 0.2s ease;
      /* 移除默认点击高亮 */
      -webkit-tap-highlight-color: transparent;
    }

    .delivery-address-add-region-button-hover {
      /* 点击时稍微加深背景色 */
      background-color: #0e75d3;
      /* 点击时轻微缩小按钮 */
      transform: scale(0.98);
      /* 可选：添加阴影变化增强按压感 */
      box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.15);
    }
  }
}